﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace laohan.Common.Common
{
    /// <summary>
    /// 
    /// </summary>
    public static class DecimalExtension
    {
        /// <summary>
        /// 失去多余的零
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public static string LostZero(this decimal value)
        {
            return value.ToString("0.##");
        }
    }
}
